package com.zby.simulationHibernate.query;

import com.zby.simulationHibernate.constant.StandardBasicTypes;
import com.zby.simulationHibernate.util.common.CommonUtil;
import com.zby.simulationHibernate.util.reflect.PropertyUtil;

import javax.swing.text.html.HTML;
import javax.xml.crypto.Data;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Created By zby on 10:37 2019/1/28
 */

public class ResultTransformer<T> {

    /**
     * 待实例化的类变量
     */
    private Class<T> target;

    /**
     * 属性键值对
     */
    private Map<String, String> tupleMap;

    public ResultTransformer(Class<T> target) {
        this.target = target;
    }

    public Class<?> getTarget() {
        return target;
    }

    public Map<String, String> getTupleMap() {
        return tupleMap;
    }

    public void transformTuple(Map<String, String> map) {
        this.tupleMap = map;
    }
}
